﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVC4WPF.Automation.Data
{

    /// <summary>
    /// Data Class that stores the basic information used in creation of an event and helper methods for the delegate.
    /// </summary>
    [Serializable()]
    public class ContractEvent
    {
        /// <summary>
        /// The name of the event
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The fully qualified name of the event handler for this event
        /// </summary>
        public string EventHandler { get; set; }

        /// <summary>
        /// The delegate paramters fully qualified and formatted for usage in a method call.
        /// </summary>
        public string DelegateParameters { get; set; }

        /// <summary>
        /// The access level fully formatted for the event.
        /// </summary>
        public string EventAccessLevel { get; set; }
        
    }
}
